package com.fy.market.trigger.feign;

import com.fy.market.types.common.reslut.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 策略奖品装配Feign客户端
 * @author fwq
 * @date 2025-10-11
 */
@FeignClient(name = "fy-market-ddd", path = "/assemble")
public interface AssembleFeignClient {

    /**
     * 组装策略奖品
     * @param strategyId 策略ID
     * @return 抽奖策略
     */
    @GetMapping("/assembleStrategyAward")
    R assembleStrategyAward(@RequestParam("strategyId") Integer strategyId);
}
